made methods public to allow testing, renamed test file and added another one(currently stub)