Added tests for new Customer API funcs.
Added more tests, fixed spelling error, removed extraneous import.