completed initial tests and functionality