Finished adding test cases and basics.