adding test, fixing prng
renaming class