Tests

Added partial test support.

Should be merged after #41