implemented tests

some tests done, create user tests