moved tests and added dependency