Finished test client
Added is_complete()
Minor bug fixes