added tests for status return codes

closes #10