Added more tests.

More tests for RBM class.