Based on the very limited information you have provided it's impossible to even make an educated guess of whether:God is testing you or whether you are testing God's teachings.However all four of the problems you list would be largely if not entirely solved if you followed the instruction in the Bible verse which describes a guaranteed way to obtain salvation :
Matthew 19:29 (New King James Version)
And everyone who has left houses or brothers or sisters or father or mother or wife or children or lands, for My name’s sake, shall receive a hundredfold, and inherit eternal life.
Making the decision to leave your home to join a Christian organization would eliminate your marital problems,work problems,reduce your expenses which in turn would allow you to decrease your financial problems while at the same time give you the opportunity to establish Christian friendships.
The major decision you must make is whether you want to dedicate your life to God or to your family.The latter choice obviously isn't working out for either you or God.