Prepare for Atom's new API
Add some tests
Remove deprecated function
Prepare 0.6.0 release