write a test, prepare for travic-ci integration