add payment test, fix some payment model bugs, fix rspec failed on work and user model