added tests and byebug
renamed as rtest